package com.nju.mini_tiktok.API;

import com.google.gson.annotations.SerializedName;
/**
 * 自定义请求返回值
 */
public class VideoItem {
    @SerializedName("_id")
    public String id;
    @SerializedName("feedurl")
    public String videoUrl;
    @SerializedName("nickname")
    public String nickname;
    @SerializedName("description")
    public String description;
    @SerializedName("likecount")
    public String likeCount;
    @SerializedName("avatar")
    public String avatarUrl;
    @SerializedName("thumbnails")
    public String coverUrl;

    @Override
    public String toString(){
        return "_id: "+ id +
                "   feedurl: " + videoUrl +
                "   nickname: " + nickname +
                "   description: " + description +
                "   likecount: " + likeCount +
                "\navatar: " + avatarUrl +
                "\nthumbnails: " + coverUrl;
    }
}
